Welcome

Summary

Welcome to the Upstream User Guide! Upstream is an intuitive and user-friendly R Shiny application designed to inform barrier culvert restoration prioritization in Western Washington. This guide serves as both a technical manual and a comprehensive overview of the app’s functionalities, including its core features: Explore, Suggest, Custom, and Learn.

In this guide, you’ll find detailed explanations of each feature:

  • Explore: Delve into our data and visualize culvert attributes across various spatial and ownership boundaries.

  • Suggest: Receive tailored restoration plans based on your preferences and budget constraint.

  • Custom: Create and assess the impact of your own set of restoration projects.

  • Learn: Learn about Upstream’s data, project team, and user support.

With helpful tips, step-by-step instructions, and links to related resources, this guide is your comprehensive companion in utilizing Upstream effectively and interpreting the results from the app.

To get started, select a tab above for detailed insights into each of Upstream’s unique features.

Static view of interactive map tool

Welcome Map


Looking for Additional Information?

If you require more details or have specific questions, we’re here to help. Feel free to reach out to us for further assistance or any queries you might have.


Explore

Overview

The Explore feature is designed to visualize culvert attributes across various spatial and ownership boundaries.


Getting Started

Choose the ‘Explore’ tile on the Upstream landing page or select the some corresponding tab text. This feature automatically displays a map of the WDFW fish passage inventory for western Washington, updated with each new version of Upstream. It filters out natural barriers and any barriers situated upstream of natural barriers.


Interactive Map

The interactive map in the Explore feature is a key component for visualizing culvert data. Here’s how to navigate and use it:

  • Zoom for Details: At higher zoom levels, the map displays counts of culverts to manage the density of information. As you zoom in, individual culverts are revealed, allowing for more detailed examination.

  • Click for Information: Clicking on a culvert once it’s visible on the map brings up a callout with culvert data such as the WDFW site ID number, passability, potential fish species, and estimated habitat and construction cost.

  • Filtering for Focus: Utilize the dropdown menus to select culverts within specific WRIAs, HUC-12s, and ownership types. This tailors the map to show only the data relevant to your interests.


Map Call-Outs

Zoom into your area of interest and click on a culvert to access detailed information. The callouts provide insights into:

  • The WDFW Site IDa
  • Passability estimatesa
  • Potential fish species a
  • Total habitat upstream of a culvertb
  • Habitat upstream of a culvert to next barrierb
  • Estimated construction costb
  • Ownership typea
  • The number of culverts corrected downstream by WSDOTb
  • The number of culverts corrected downstream by other than WSDOTb
  • Weather WSDOT plans to correct that particular barrierb
  • The date the culvert was surveyeda

a denotes variables from the WDFW inventory and b denotes Upstream variables.


Area, Subarea, and Ownership

Refining culverts based on Area, Subarea, and Ownership sets the benefit of any culvert outside the selection to 0. Although a culvert outside the selected area, subarea or ownership could still end up in the solution, especially if it is needed to restore the culvert outside to get any benefits at all as it is very possible another ownership type and area is critical. The tool will point this out.

Area

To refine the inventory data, use the dropdown menu to select Water Resource Inventory Areas (WRIAs) of interest. For multiple selections, ensure ‘All WRIAs’ is deselected. Similarly, selecting specific ownership types will filter the maps and figures accordingly.

Subarea

The Subarea selector allows for further specification and will auto populate with subareas contained within the selected Areas after clicking the submit button at the bottom of the left panel.

Ownership

The Ownership selector filters the culverts based on their ownership as defined in the WDFW inventory. This includes City, County, Federal, Private, State, Tribal, Other, Port, Drainage District, Irrigation District, and Unknown.


Select Variables For Plotting

This section allows you to plot variables as a histogram or scatterplot. For instance, to analyze the relationship between the cost of culvert repairs and the length of blocked habitat:

  1. Set Plot Type to “Scatterplot”.
  2. Choose “Cost” for the X-axis variable.
  3. Select “Full Habitat Length” for the Y-axis.
  4. For style, use “Cost” as the fill color.

Adjust the plot’s appearance using the jitter sliders.


Highlight Barriers

The highlight barriers field allows specific culverts to be selected by their ID from the WDFW barrier inventory. This will highlight them specifically both on the map as well as on the scatterplot.


Submit and Visualization

Click “Submit” to generate two outputs:

  1. An interactive map showcasing culverts within the selected area, subarea, and ownership.
  2. A clickable scatter plot illustrating the chosen characteristics.

Note: The ‘Select Variable for Map’ and ‘Plot Fill Color’ options enhance the visualization of the selected variable on both the map and scatter plot.


Suggest

Overview

The Suggest feature returns a restoration plan that maximizes habitat, given the users budget, project area, and other constraints.


Getting Started

To initiate the Suggest feature on the Upstream platform, simply select your project area, define your budget, and choose the culvert ownership types. This process, accessible in the Suggest section, is straightforward and user-friendly, allowing you to quickly set the parameters for your habitat restoration plan.


Area, Subarea, and Ownership

As in Explore, culverts can be refined based on Area, Subarea, and Ownership sets the benefit of any culvert outside the selection to 0. Although a culvert outside the selected area, subarea or ownership could still end up in the solution, especially if it is needed to restore the culvert outside to get any benefits at all as it is very possible another ownership type and area is critical. The tool will point this out.

Area

To refine the inventory data, use the dropdown menu to select Water Resource Inventory Areas (WRIAs) of interest. For multiple selections, ensure ‘All WRIAs’ is deselected. Similarly, selecting specific ownership types will filter the maps and figures accordingly.

Subarea

The Subarea selector allows for further specification and will auto populate with subareas contained within the selected Areas after clicking the submit button at the bottom of the left panel.

Ownership

The Ownership selector filters the culverts based on their ownership as defined in the WDFW inventory. This includes City, County, Federal, Private, State, Tribal, Other, Port, Drainage District, Irrigation District, and Unknown.


Already Planned / Will Complete

In addition to spatial and administrative constraints, users can enhance their Suggest analysis by inputting new information and customizations. The ‘Already Planned / Will Complete’ field allows users to input the IDs of culverts that have either been recently completed (but whose passability is not yet reflected in the app’s data) or are already planned and budgeted for repair separately. When you include these culverts, the analysis will not allocate any of your budget towards them. Instead, it will assume they are already fixed and passable, allowing the tool to suggest additional barriers for repair within your remaining budget.

By marking these culverts as planned or completed, you effectively inform the planning tool to consider them as fixed assets in its optimization algorithm. This approach allows for more strategic planning and coordination around other known projects, ensuring that resources are allocated efficiently and effectively. The culverts marked as ‘Already Planned / Will Complete’ will be excluded from the cost calculations in the analysis, but their associated habitat will still be displayed on the map for informational purposes. However, these culverts will be ignored in the generation of new reports to focus on the remaining barriers that require attention

Note: If you don’t know the culvert id, but know their physical locations, simply navigate to those points on the map, click, and copy/paste the id from their call out into the Already Planned / Will Complete field.Once added, click the submit button again.


Select Species

The ‘Select Species’ button allows users to tailor the analysis to specific fish species of interest. The species options are derived from the Washington Department of Fish and Wildlife (WDFW) fish passage inventory and include the five Pacific salmon species (Chinook, Coho, Chum, Pink, and Sockeye) as well as Steelhead. By selecting a species, you can focus the analysis on the habitat needs and passage barriers relevant to that particular species.

When a species is selected, the analysis adjusts to reflect the habitat suitability and passage requirements for that species. If a culvert does not provide habitat for the selected species, or if it’s deemed unsuitable for passage, the benefit of modifying or repairing that culvert is set to 0 in the context of the selected species. This ensures that the analysis and subsequent recommendations are specifically targeted to improve conditions for the species of interest, allowing for more effective and targeted conservation efforts.


Habitat Quantity Definition

Habitat quantity is a critical metric in environmental assessment and can be quantified in terms of length, area, or volume. By default, length is used as the primary measure.

Note: For area and volume calculations, bankfull width and depth are utilized as outlined in Bieger et al. 2015.


Objective

The Objective feature in Upstream provides a more comprehensive analysis of habitat quality. When selecting ‘Weighted Attributes’, the system incorporates various habitat quality metrics, building upon the chosen Habitat Quantity Metric.

This feature allows users to assign weights to different land use types within a 100-meter buffer surrounding the habitat. These land use categories, derived from the National Landcover Dataset, include urban, agricultural, and natural areas. This weighting system enables users to make localized assessments of habitat quality based on land use. Note: Weights must sum to 1.

Additionally, the ‘Ideal Habitat Temperature’ option allows users to factor in temperature conditions, further refining the habitat quality analysis. For simplicity, August mean temperature is considered as it is a proxy for the max average monthly temperatures anadromous species are likely to encounter. The temperature values are pulled from the NHDplusV2 and have been computed using a grid which combined the Parameter-elevation Regressions on Independent Slopes Model data PRISM for the period between 1971 and 2000 Documentation. Missing temperature values were interpolated using IDW with n.max = 10 while also including bank full width.

It’s important to note that temperature will act as a filter in the analysis. Users can set an ideal temperature range for the selected species, and the benefits of modifying or repairing a culvert will drop to zero if the temperature is outside this range.


Cost

In the Cost section of Upstream, users have the flexibility to input specific financial details for their projects. This feature is particularly useful for those who have precise cost information at their disposal. Cost estimates were initially established using methods described in Van Deynze et al 2022. As these were 2019 costs, CPI is considered and used to adjust the estimates to the current year for inflation. Unknown costs are spatially interpolated using IDW.

  • Provide Mean Project Cost: Users can enter the average cost of either the design phase or the construction phase of their culvert projects. This input is invaluable for those who have detailed, project-specific financial data. The mean project cost provides a baseline for the design cost of the culvert. Additionally, construction costs are based on the regional averages as cited in the literature, which allows for the scaling of costs to adjust to the relevant project size and scope. This scaling is achieved by applying a ratio of the construction cost to the user’s specific project costs, ensuring that estimates reflect the unique aspects of each project.

  • Default Modelled Cost Estimates: For users without specific cost data, Upstream offers a default option that utilizes modelled cost estimates. These estimates are based on a comprehensive analysis of regional data and provide a reliable approximation for project budgeting. The modelled estimates are continually updated to reflect current economic conditions and provide a robust starting point for users who do not have access to specific cost data.

This dual approach to cost estimation ensures that users can tailor the financial aspects of their habitat restoration plans according to the level of detail they have, ensuring both accuracy and flexibility in project planning. By providing a mean project cost and allowing for the addition of average design costs, Upstream facilitates a comprehensive and adaptable framework for financial planning. The system’s ability to scale costs according to specific project parameters ensures that users can make informed decisions that reflect both the scope of their projects and the nuances of regional cost factors.


Enter Budget

Once any of the prior fields are populated, provide the budget available for repairs in US dollars—such as 80000 in the example to the right.

For example, on the right we allow for Upstream to suggest culverts of all ownership types in all sub-areas within the Chambers-Clover WRIA only. All other fields were left unpopulated.


Submit

Without additional selections (see below), clicking “Submit” will provide two products:

  1. A map highlighting, in blue, barrier(s) that are estimated to unlock the most habitat for the user defined budget. selections here are based on Recent research on regional repair costs, and uniform habitat quality.

  1. A report, matching projects on the map, that provides the summed habitat by fish species (if known), that is estimated to be repaired, along with estimated cost per barrier id within the plan.


Example Results

Map Results:

Including the two culverts to the southwest as already planned / completed, and leaving budget the same, suggests a new third culvert to the northeast, the map indicates potential habitat gains in blue with areas that will remain blocked in red.

Report Results:

Only the unlocked habitat and cost of the new suggestion is given. Note that this particular stream had no species listed, but still reports the total linial gain.


Custom

Overview

The Custom feature on Upstream allows for detailed habitat restoration planning. It enables users to select specific culverts by ID, in addition to setting budget, project area, and ownership types. This feature is ideal for targeted restoration efforts.


Getting Started

To use Custom, start by choosing your project area, budget, and culvert ownership types, similar to the Suggest feature. The unique aspect here is selecting specific culverts by their IDs for a more focused approach. The Custom feature then generates a report detailing habitat gains by salmon species and overall, along with the estimated cost of the plan.


Demo

  1. Introduction This section can be used to describe potential use cases.

Learn

Overview

The Learn feature is your comprehensive resource for understanding Upstream. It offers detailed background information about the app, insights into its development, and helpful guidance on how to navigate and utilize its features effectively.


Getting Started

To complement this user manual, we are developing a video tutorial that will provide a visual and interactive guide to Upstream. Your feedback is invaluable to us, so please don’t hesitate to reach out with suggestions or questions to further enrich your learning experience.


Development Process

Upstream has been developed through a collaborative process involving state, tribal, and federal stakeholders, facilitated by a series of meeting groups. This ongoing engagement ensures the tool evolves with diverse inputs, reflecting a range of perspectives and needs. We continue to refine the tool, valuing the contributions from all participants.


Frequently Asked Questions (FAQ)

Q1: What is Upstream?

A1: Upstream is an R Shiny application designed for barrier culvert restoration planning in Western Washington. It offers tools to visualize, plan, and optimize restoration projects.

Q2: Who can benefit from using Upstream?

A2: Upstream is beneficial for environmental planners, ecologists, government agencies, and anyone involved in habitat restoration and environmental conservation, particularly in the context of barrier culverts.

Q3: How do I access Upstream?

A3: Upstream can be accessed online at Upstream’s website. It’s a web-based application, so no download is necessary although it is available as the application is packaged.

Q4: What are the main features of Upstream?

A4: Upstream includes several key features: Explore, Suggest, Custom, and Learn. Each offers different functionalities for data visualization, restoration planning, and educational resources.

Q5: How does the Explore feature work?

A5: The Explore feature allows users to visualize and analyze culvert attributes across different administrative and hydrological boundaries, providing insights into potential restoration areas while taking into account connectivity.

Q6: What is the Suggest feature?

A6: The Suggest feature generates tailored restoration plans based on user-defined constraints, such as budget and project area, maximizing habitat restoration impact.

Q7: Can I create a custom restoration plan with Upstream?

A7: Yes, the Custom feature enables users to select specific culverts and set parameters like budget and project area for targeted restoration planning.

Q8: Are there any resources for learning how to use Upstream?

A8: The Learn feature provides comprehensive resources, including detailed background information, development insights, and a forthcoming video tutorial.

Q9: Is there any support available for Upstream users?

A9: Users can reach out via the contact information provided on the Upstream website for support, feedback, or any queries related to the application.


Project Team

  • Sunny Jardine (Project lead, Lead developer)

  • Robby Fonner (Project advisor)

  • Dan Holland (Project advisor)

  • Mark Scheuerell (Project advisor)

  • Braeden Van Deynze (Project advisor)

  • Connor Lewis Smith (Developer, IT)

  • Jeffery Comnick (Developer)

  • Logan Blair (Developer)

  • J Kahn (Developer)

  • Zephyr Pfotenhauer (Illustrator)


Additional Information

In the realm of fish barrier culvert management and prioritization, a wealth of resources and methodologies exist to guide decision-making processes. Two key resources provide invaluable insights into these practices:

  1. WDFW Fish Passage Inventory, Assessment, and Prioritization Manual: This comprehensive manual, developed by the Washington Department of Fish and Wildlife (WDFW), outlines detailed schemes for prioritizing fish barrier culverts. It serves as a critical guide for understanding the criteria and processes involved in assessing and prioritizing culvert projects for fish passage restoration. The manual can be accessed here. It is an essential read for anyone involved in fish passage improvement projects, offering a structured approach to prioritizing interventions based on ecological and logistical considerations.

  2. Approaches to Prioritization in the Case Area: A manuscript available on bioRxiv here provides a detailed analysis of different entities’ approaches to prioritization within the case area. This paper offers a comparative perspective, highlighting the diverse methodologies and strategies employed by various organizations in addressing fish passage barriers.


Data and Resources

Comprehensive Data Sources

Upstream utilizes a variety of data sources to provide accurate and up-to-date information. Below is a list of these sources, detailing their specific contributions to our app.


Culvert (Points) Data

  1. WDFW Barrier Inventory:

    • Last updated for app use: 9/1/23.

    • Removal of natural barriers and barriers upstream of natural barriers: This dataset has been refined to exclude natural barriers, focusing solely on man-made obstructions to provide a more targeted approach for restoration and management efforts.

    • Comprehensive Data Collection: Includes detailed information on the location, type, and status of each man-made barrier, aiding in effective planning and prioritization.

    • Additional details and web maps available here: Offers an interactive way to explore and understand the data, enhancing user engagement and comprehension.

  1. WSDOT Planned and Corrected Barrier Inventories:

    • Includes Fish Passage Delivery Plan Sites for 2021-2023, 2023-2025, and 2025-2027: Provides a forward-looking view of planned restoration activities, helping users to align their projects with state initiatives.

    • Statewide data on corrected barriers: This dataset offers insights into the progress made in barrier correction, serving as a benchmark for future projects.

    • Accessible and User-Friendly Data: The dataset is available in a user-friendly format, making it easier for practitioners and researchers to analyze and utilize.

    • Explore the dataset here: Direct link to the dataset for in-depth exploration and analysis.


Streams (Lines) Data

  1. NHDPlus HR:

    • NHDPlus HR is a comprehensive set of digital spatial data that includes high-resolution flowline networks, catchment areas, and watershed boundaries (WBD HUC). It represents a significant advancement in the mapping and management of water features across the United States.

    • This dataset is crucial for hydrological analysis, environmental planning, and resource management. It provides detailed information about stream networks, including their flow direction and connectivity.

    • Data for this project is acquired using nhdplusTools, a suite of tools designed to facilitate the use and analysis of NHDPlus data. These tools help in extracting, processing, and visualizing hydrographic data effectively.

Note on Accuracy and Ongoing Work: While NHDPlus HR offers detailed and extensive hydrographic data, it’s important to acknowledge that these stream lines may not always perfectly represent on-ground realities. To enhance accuracy, ongoing work is exploring the integration of LiDAR-derived stream lines. LiDAR technology, known for its precision in topographical mapping, can provide more accurate representations of stream paths by incorporating elevation data. This effort is part of our continuous commitment to improving data quality and reliability.


Temperature and Land Use Data

  • Temperature data utilized in our application are derived from the NHDPlusV2 dataset as the August Mean Temperatures in Celsius. The choice of August data is strategic, as it likely represents the maximum average monthly temperatures that anadromous species might encounter. These temperature values are sourced from the PRISM Climate Group (<http://www.prismclimate.org>) for the period spanning 1971 to 2000. For a comprehensive understanding of the attributes in NHDPlusV2, please refer to the NHDPlusV2 User Guide. In cases where temperature data were missing, we applied Inverse Distance Weighting (IDW) interpolation, with a maximum neighbor count of 10, incorporating the bankfull width of water bodies.

  • Land use data is derived from the National Landcover Dataset, specifically the 2021 version, offering insights into the surrounding environments of habitats. These land types, following the Anderson Land Cover Classification System are further simplified assigning classes 81 and 82 to “agriculture” and classes 21, 22, and 23 to “urban”. All remaining classes then become categorized as “natural”.

NLCD Colour Classification Update


Cost Estimates

  1. Van Deynze et al 2022:

    • Provides modelled cost estimates for project planning. These costs were originally estimated in 2019 USD, however, costs are adjusted for inflation during the data compilation process.

Legal Boundaries

  1. Injunction Boundary:

    • Outlines the case area for U.S. District Court Injunction No. C70-9213.


App Development and Source Code

Golem Framework: The Upstream app was developed using the Golem Shiny application framework. Golem provides a structured and efficient approach for building complex Shiny applications, enhancing maintainability and scalability.

Source Code on GitHub: The source code for Upstream is available on GitHub, promoting transparency and collaboration within the community. This open-source approach allows users to review, contribute, or adapt the code for their own projects.